//
//  FLWallpaperCollectionViewCell.m
//  FeeLing
//
//  Created by 乔光玉 on 2019/1/3.
//  Copyright © 2019年 大仙儿飘. All rights reserved.
//

#import "FLWallpaperCollectionViewCell.h"

@implementation FLWallpaperCollectionViewCell
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _topImage  = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.width, self.height)];
        _topImage.backgroundColor = [UIColor colorWithHexString:@"#2B2D5C"];
        _topImage.clipsToBounds = YES;
        _topImage.layer.cornerRadius = 4;
         _topImage.contentMode = UIViewContentModeScaleAspectFill ;
        [self.contentView addSubview:_topImage];
    }
    return self;
}
@end
